package com.work.saturn.bean;

import com.immo.libcommon.base.BaseBean;

/**
 * @author Administrator
 * @content
 * @date 2018/8/29
 */
public class GASBean extends BaseBean {


    /**
     * payload : {"txId":"4ee92118ed6e5eb6d3bbf75c1f87fe8c03a60735f43270a9efaaf93b977c422c","blockNum":"49","payload":{"gas":0.1,"token":"MuT","amount":"1000"}}
     */

    private PayloadBeanX payload;

    public PayloadBeanX getPayload() {
        return payload;
    }

    public void setPayload(PayloadBeanX payload) {
        this.payload = payload;
    }

    public static class PayloadBeanX {
        /**
         * txId : 4ee92118ed6e5eb6d3bbf75c1f87fe8c03a60735f43270a9efaaf93b977c422c
         * blockNum : 49
         * payload : {"gas":0.1,"token":"MuT","amount":"1000"}
         */

        private String txId;
        private String blockNum;
        private PayloadBean payload;

        public String getTxId() {
            return txId;
        }

        public void setTxId(String txId) {
            this.txId = txId;
        }

        public String getBlockNum() {
            return blockNum;
        }

        public void setBlockNum(String blockNum) {
            this.blockNum = blockNum;
        }

        public PayloadBean getPayload() {
            return payload;
        }

        public void setPayload(PayloadBean payload) {
            this.payload = payload;
        }

        public static class PayloadBean {
            /**
             * gas : 0.1
             * token : MuT
             * amount : 1000
             */

            private String gas;
            private String token;
            private String amount;

            public String getGas() {
                return gas;
            }

            public void setGas(String gas) {
                this.gas = gas;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }
        }
    }
}
